Automattic\Jetpack\Publicize\REST_Controller S

Total Complexity 22
Dependencies 6
Dependents 3
Total lines 327
Lines of code 205
Logical lines of code 61
Comment lines 84
Methods 12
Properties 1

Methods 12

Method Rating Maintainability Complexity Lines of code
register_rest_routes()
S
40 1 80
make_proper_response()
S
58 5 15
update_dismissed_notices()
S
59 4 14
get_social_product_info()
S
55 2 20
share_post()
S
55 1 22
get_dismiss_notice_endpoint_schema()
S
55 1 21
require_admin_privilege_callback()
S
64 2 10
get_blog_id()
S
79 2 3
__construct()
S
81 1 3
get_publicize_connection_test_results()
S
69 1 6
get_publicize_connections()
S
69 1 6
get_publicize_shares_count()
S
73 1 5